import SceneManager, { SwapMethod } from "../../btoolkit/framework/SceneManager";
import StageLobby from "./stageLobby/StageLobby";

const { ccclass, property } = cc._decorator;

@ccclass
export default class MainCanvas extends cc.Component {

    static instance: MainCanvas;

    onLoad() {
        MainCanvas.instance = this;
    }

    start() {
        SceneManager.swapToStage(StageLobby, SwapMethod.BlackFade);
    }

}
